package com.kaifamiao.www.Thread.do0926;

public class TicketTest {
    public static void main(String[] args) {
        Ticket ticket = new Ticket();
        Thread td1 = new Thread(ticket,"一号窗口");
        Thread td2 = new Thread(ticket,"二号窗口");
        Thread td3 = new Thread(ticket,"三号窗口");
        td1.start();
        td2.start();
        td3.start();

    }
}
